package com.sze.volanmenetrendgyor;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Handler.Callback;
import android.os.Message;

public class SplashScreenActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splashscreen);

		Handler starthandler = new Handler(new Callback() {

			public boolean handleMessage(Message msg) {
				Intent i = new Intent(SplashScreenActivity.this,LinesListActivity.class);
				startActivity(i);
				finish();
				return false;
			}
		});
		
		starthandler.sendEmptyMessageDelayed(0, 2000);
	}

}
